package org.spark.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/2/23 21:01
 */
@FeignClient(value = "localhost:7001",path = "/admin")
public interface NutUserClient {
    @GetMapping("/auth")
    public List<Integer> AuthList(Long userId);
}
